function [result] = startBoat_windows(whichBoat)

% first, assert we aren't already running the process
killBoat_windows(whichBoat);

assert((whichBoat==1) || (whichBoat==2) || (whichBoat == 3), ...
    'Bad boat selection, needs to be 1, 2, or 3.\n');

switch whichBoat
    case 1
        boatIP = '192.168.1.101';
    case 2
        boatIP = '192.168.1.102';
    case 3
        boatIP = '192.168.1.103';
end
% username = 'actuv';
% password = 'CMU-actuv';
 
username = 'root';
password = 'CMU-actuv';

% ssh2_simple_command(boatIP, username, password, 'cd  boats\ code/New\ Boats\ Code/; sudo -b ./exp_main', 1);
ssh2_simple_command(boatIP, username, password, ['cd  ../home/actuv/boats\ code/New\ Boats\ Code/; nohup ./exp_main > debug-' date ' 2>&1 &'], 1);

% ssh2_simple_command(boatIP, username, password, 'cd  boats\ code/New\ Boats\ Code/; nohup ./exp_main > /dev/null 2>&1 &', 1);

disp(['Boat ' num2str(whichBoat) ' started successfully.']);
result = 1;
end